package com.lft.freshordering.service;

import com.lft.freshordering.entity.Goods;
import com.lft.freshordering.entity.Stypes;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tyhxzy
 * @since 2024-12-02
 */
public interface IGoodsService {
    List<Goods> selectgoods();

    List<Stypes> selectByCategoryId(Integer categoryId);

    Goods getById(Integer id);

    int updategoods(Goods goods);

    int instertgoods(Goods goods);

    int deletegoods(Integer id);

    int save(Goods goods);

    List<Goods> selectlike(String search);

}
